package com.song.oa.service;

import com.song.oa.entity.R;
import com.song.oa.pojo.Admin;
import com.baomidou.mybatisplus.extension.service.IService;
import com.song.oa.vo.Login;
import jakarta.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author tonysong
 * @since 2024-03-19
 */
public interface AdminService extends IService<Admin> {



    /**
     * 登录
     * @param 账号
     * @param 密码
     * @param 验证码
     * @param 请求
     * @return
     */
    R login(String username, String password, String code, HttpServletRequest request);
}
